from django.urls import path
from django.conf.urls.static import static

from app.services.Confirm import ConfirmAPIView
# from .addUser import AddUserView
from app.services.views import *
from app.services.seekView import *
from app.services.Login import *  # 登录接口
from app.services.Matchmaker import *  # 红娘接口
from app.services.Coins import *
from app.services.HomeUrl import *
from app.services.Authentication import *
from app.services.Activity import *
from app.services.Interchanges import *
from app.services.SendCode import *
from app.services.RealInfo import *
from app.services.Tweets import *
from app.services.UserViewLog import *
from app.services.mylike import *
from app.services.ShowUser import *
from app.services.likeView import *
from app.services.GiftView import *

urlpatterns = [
                  path('post/api/v1/develop/seek/recommend', RecommendView.as_view(), name="recommend"),  # 寻觅页面 推荐搜索接口
                  path('post/api/v1/develop/seek/nearby', RecommendView.as_view(), name="nearby"),  # 寻觅页面 附近搜索接口
                  path('post/api/v1/develop/seek/matching', RecommendView.as_view(), name="matching"),  # 寻觅页面 匹配我搜索接口
                  path('get/api/v1/develop/login', LoginView.as_view()),  # 登录接口
                  path('get/api/v1/develop/matchmaker', MatchmakerView.as_view()),  # 红娘信息接口
                  path('get/api/v1/develop/authentication', AuthenticationView.as_view()),  # 认证接口
                  path('get/api/v1/develop/private-matchmaker', PrivateMatchmakerView.as_view()),  # 获取私人红娘接口
                  path('get/api/v1/develop/homedata', HomeView.as_view()),  # 首页用户卡片信息接口
                  path('get/api/v1/develop/banner', HomeBannerView.as_view()),  # 首页轮播图接口
                  path('get/api/v1/develop/homeclass', HomeCategoryView.as_view()),  # 首页分类信息接口
                  path('get/api/v1/develop/topup', HomeTopUpView.as_view()),  # 置顶用户接口
                  path('get/api/v1/develop/activity', ActivityView.as_view()),  # 活动用户信息
                  path('get/api/v1/develop/activity-details', ActivityDetailsView.as_view()),  # 活动详情/报名接口
                  path('get/api/v1/develop/get-userblogs', GetBlogView.as_view()),  # 获取所有动态
                  path('post/api/v1/develop/like', LikeView.as_view()),  # 点赞
                  path('post/api/v1/develop/send-gift', SendGiftView.as_view()),  # 送礼物
                  path('post/api/v1/develop/insert-gift', PostGiftView.as_view()),  # 添加礼物
                  path('get/api/v1/develop/get-all-gifts', GetGiftsView.as_view()),  # 获取所有礼物
                  path('get/api/v1/develop/seek/information', InformationView.as_view()),  # 根据用户id请求信息
                  path('post/api/v1/develop/uploadImage', upload_image, name='upload_image'),  # 上传到静态文件夹
                  path('post/api/v1/develop/save', save_post, name='save_post'),  # 保存用户发布动态
                  path('get/api/v1/develop/sendCode', SendCodeView.as_view()),  # 验证码接口
                  path('post/api/v1/develop/realInfo', RealInfoView.as_view()),  # 实名认证
                  path('post/api/v1/develop/accept', AcceptView.as_view()),  # 互换微信同意或拒绝
                  path('get/api/v1/develop/Interchanges', IInterchangeView.as_view()),  # 获取互换记录
                  path('get/api/v1/develop/cacommitment', CancelCommitment.as_view()),  # 获取用户金币
                  path('get/api/v1/develop/activity/of_commitment', LetterOfCommitment.as_view()),  # 获取活动报名承诺书状态
                  path('get/api/v1/develop/myjoinactivity', MyJoinActivityView.as_view()),  # 我参加的活动
                  path('get/api/v1/develop/visitor', UserViewLogs.as_view()),  # 访客接口
                  path('get/api/v1/develop/message', MessageViewer.as_view()),  # 消息接口
                  path('get/api/v1/develop/getconins', GetCoins.as_view()),  # 获取金币数量的接口
                  path('get/api/v1/develop/getdetails', GetDetails.as_view()),  # 获取金币明细的接口
                  path('get/api/v1/develop/signup', SignInRecord.as_view()),  # 签到获取金币
                  path('post/api/v1/develop/ConfirmAPI', ConfirmAPIView.as_view()),  # 图片上传认证
                  path('get/api/v1/develop/mylike', MyLikeView.as_view()),  # 我喜欢的接口
                  path('get/api/v1/develop/likeme', LikeMe.as_view()),  # 喜欢我的接口
                  path('post/api/v1/develop/change-user', ChangeUserView.as_view()),  # 修改用户信息或添加用户信息
                  path('get/api/v1/develop/percentage', ChangeUserView.as_view()),  # 百分比
                  path('get/api/v1/develop/like/get-attention', AttentionView.as_view()),  # 点击关注
                  path('get/api/v1/develop/like/get-like-list', GetLikeView.as_view()),  # 获取点赞列表
                  path('get/api/v1/develop/like/get-like-attention', GetUserAttentionView.as_view()),  # 获取关注列表
                  path('get/api/v1/develop/get-gift', GiftViews.as_view()),  # 获取送出和收到的礼物/post兑换金币
                  path('get/api/v1/develop/avatar', AvatarView.as_view()),  # 获取头像
                  path('get/data', TestView.as_view()),  # axios重连

              ] + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
